﻿using System;
using UnityEngine;

// Token: 0x020004F2 RID: 1266
public static class MapSearch
{
	// Token: 0x06002024 RID: 8228 RVA: 0x000C7FF8 File Offset: 0x000C61F8
	public static Transform GetLightRoot(GameObject _obj)
	{
		Map component = _obj.GetComponent<Map>();
		return (!(component != null)) ? null : component.lightRoot;
	}

	// Token: 0x06002025 RID: 8229 RVA: 0x000C8024 File Offset: 0x000C6224
	public static Map GetMapClass(GameObject _obj)
	{
		return _obj.GetComponent<Map>();
	}
}
